﻿using System;
using System.Runtime.Serialization;

namespace Toybox.NicoSharp.Video
{
  using Utilities;

  partial class Flv
  {
    public class RPU
    {

      #region [Static]

      public static RPU Deserialize(string json)
      {
        try
        {
          return Deserializer.JsonDeserializer<RPU>(json);
        }
        catch (Exception ex)
        {
          //IO.Log.Write(e, json);
          throw ex;
        }
      }

      #endregion [Static]


      #region Public Members

      [DataMember]
      public int count;

      [DataMember]
      public string[] users;

      [DataMember]
      public int extra;
      
      #endregion Public Members
      
    }
  }
}